using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Admin2022Soft2.Application.RequestDto;
using Admin2022Soft2.Application.ResponseDto;
using Admin2022Soft2.Domain.Entity;

namespace Admin2022Soft2.Application.Common.Interface
{
    public interface IIdentityService
    {
        Task<AppTokenDto> ValidateUserAsync(UserForAuthDto userForAuth);

        Task<AppTokenDto> GenerateToken(AppUser appUser);

        Task<AppTokenDto> RefreshTokenAsync(AppTokenDto appToken);
    }
}